/**
 * 二级页
 */

// -------------------------------二级页------------------------------------
if(location.href=="http://jldrc.jl.gov.cn/zmhd/ldxx/"){
//领导信箱
	
	_EsdDynamicTransformationScript.slidePointInterval = setInterval(function () {
		if ( document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton") != undefined ) {
			clearInterval(_EsdDynamicTransformationScript.slidePointInterval);
			
	var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;
	$(inputIframe).find(".xdTextBox:eq(0)").attr({placeholder:"收信人",title:"收信人"});
	$(inputIframe).find(".xdTextBox:eq(1)").attr({placeholder:"信件主题",title:"信件主题"});
	$(inputIframe).find(".xdTextBox:eq(2)").attr({placeholder:"您的姓名",title:"您的姓名"});
	$(inputIframe).find(".xdTextBox:eq(3)").attr({placeholder:"联系方式",title:"联系方式"});
	$(inputIframe).find(".xdRichTextBox:eq(0)").attr({placeholder:"信件内容",title:"信件内容"});
	
	$(inputIframe).find("#SubmitButton").attr("title","提交");	
	$(inputIframe).find("#ResetButton").attr("title","重置");	

		}
	}, 500);
	
}

if(location.href=="http://jldrc.jl.gov.cn/zmhd/jyxc/"){
//建言献策
	
	_EsdDynamicTransformationScript.slidePointInterval = setInterval(function () {
		if ( document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton") != undefined ) {
			clearInterval(_EsdDynamicTransformationScript.slidePointInterval);
			
	var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;
	$(inputIframe).find("#frmData input:eq(0)").attr({placeholder:"姓名",title:"姓名"});
	$(inputIframe).find("#frmData input:eq(1)").attr({placeholder:"联系方式",title:"联系方式"});
	$(inputIframe).find("#frmData textarea:eq(0)").attr({placeholder:"建言标题",title:"建言标题"});
	$(inputIframe).find("#frmData .xdRichTextBox").attr({placeholder:"建言内容",title:"建言内容"});
	
	$(inputIframe).find("#SubmitButton").attr("title","提交");	
	$(inputIframe).find("#ResetButton").attr("title","重置");	

		}
	}, 500);
	
}		
		

if(location.href=="http://jldrc.jl.gov.cn/zmhd/jbts/"){
	//举报投诉
		
		_EsdDynamicTransformationScript.slidePointInterval = setInterval(function () {
			if ( document.getElementsByTagName("iframe")[0].contentWindow.document.getElementById("SubmitButton") != undefined ) {
				clearInterval(_EsdDynamicTransformationScript.slidePointInterval);
				
			var inputIframe = document.getElementsByTagName("iframe")[0].contentWindow.document;
			$(inputIframe).find("#frmData input:eq(0)").attr({placeholder:"您的姓名",title:"您的姓名"});
			$(inputIframe).find("#frmData input:eq(1)").attr({placeholder:"您的电话",title:"您的电话"});
			$(inputIframe).find("#frmData textarea:eq(0)").attr({placeholder:"举报或投诉标题",title:"举报或投诉标题"});
			$(inputIframe).find("#frmData .xdRichTextBox").attr({placeholder:"举报或投诉内容",title:"举报或投诉内容"});
			
			$(inputIframe).find("#SubmitButton").attr("title","提交");	
			$(inputIframe).find("#ResetButton").attr("title","重置");	

			}
		}, 500);
		
}	